package com.ddwl.schema.bo.user;

import com.ddwl.schema.bo.base.BaseBo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2019/8/29 17:58
 */
@Setter
@Getter
public class MenuBo extends BaseBo {

    @ApiModelProperty("主键")
    private String id;
    @ApiModelProperty("父级菜单ID")
    private String pid;
    @ApiModelProperty("菜单名称")
    private String name;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("路径")
    private String path;
    @ApiModelProperty("是否隐藏")
    private Boolean hidden;
    @ApiModelProperty("组件")
    private String component;
    @ApiModelProperty("重定向")
    private String redirect;
    @ApiModelProperty("图标")
    private String icon;
    @ApiModelProperty("是否有缓存")
    private Boolean noCache;
    @ApiModelProperty("菜单元素")
    private List<ElementBo> elements;
}
